home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / packet / dxlmodem / readme.eng < prev   
Encoding:
Text File  |  1996-01-11  |  8.8 KB  |  181 lines

  1. (originally from OE5DXL, english translation by DL9RDZ)
  2.  
  3. This text is not jet prepared for general distribution.
  4.  
  5.    test-version L2PCX, HAMWARE - (C) OE5DXL  commercial usage prohibited
  6.  
  7.   resident multi-port AX.25-driver for IBM-compatible and plug-in-modem(s)
  8.   for RS232, 9600bit/s FSK w/ G3RUH-scrambling, power supply from the 
  9.   interface.
  10.   IC's: TL064, 4013, 4538
  11.  
  12.                 Terminal-interface with WA8DED-hostmode
  13.  
  14. (detailed information about hostmode interface not yet included, see
  15.  e.g. documation of the Atari-version L2STX)
  16.  
  17. -----------------------------------------------------------------------------
  18. When the modem circuit-diagramm is distributed in printed form, it
  19. simultaniously must be included on an electronically readable data
  20. carrier. (e.g. floppy disc)
  21. -----------------------------------------------------------------------------
  22.  
  23. "Can I use this with a Baycom Modem?"
  24. No! a Baycom Modes is for 1200bit/s AFSK!
  25. L2PCX can be operated at 1200bit/s, but only in the operational mode used
  26. with the FSK-modems. This can't be adjused just with changing Pins for
  27. "Baycom". For 1200bit/s various other driver software does exist.
  28.  
  29. Before building or bying a modem, the PC should be testet without modem,
  30. wheater it's RS232-interface is compatible, resp. the CPU can handle the
  31. interrupts properly (see below).
  32.  
  33. For testing a modem, you should install L2PCX for the according RS232-
  34. interface, because otherwise the power supply on the status lines may
  35. not be present.
  36.  
  37.  
  38.  
  39. command line parameters:
  40. -U                 unload
  41. -I<num>            trap-int of the WA8DED interface, default 253 = FDh
  42. -P<num>            AX.25 port (currently only P1 supported)
  43. -B<num>            size of data-buffer in 32byte, default 800
  44. -xx                Test Off -- some % less cpu time consumed
  45.                    (command is NOT -xx, is not yet published)
  46.  
  47. parameters for separate ports are set after the -P<number>:
  48. -P<num> -Bbit/s    bit/s Port 1 (150 to 9600), default 9601
  49.                      add 1: turns on G3RUH-scrambling (-B9601)
  50.                      add 2: sets DTR to +12V for AFSK-modems (-B1202)
  51. -P<num> -C<num>    used COM port, according to BIOS, default COM1
  52. -P<num> -I<num>    interrupt of interface (-I3), default I4
  53. -P<num> -A<num>    base-adress of interface (dezimal!) (-A760) default 1016
  54. all possible parameters after -Px can be combined. In case you need
  55. parameters to change the default values, you can simplify the loading
  56. with a .BAT-file. 
  57.  
  58. start with: (examplex)
  59.                            ! IntTest ! bit/s ! Scrambl ! COMnr ! INTnr ! Adrs !
  60. ---------------------------+---------+-------+---------+-------+-------+------+
  61. L2PCX                      !   ON    ! 9600  !   ON    !f.bios ! INT4  !n.bios!
  62. L2PCX -U                   !  ------------------ Unload ----------------------!
  63. L2PCX -P1 -B1200           !   ON    ! 1200  !   OFF   !f.bios ! INT4  !f.bios!
  64. L2PCX -P1 -B9600           !   ON    ! 9600  !   OFF   !f.bios ! INT4  !f.bios!
  65. L2PCX -P1 -B9601           !   ON    ! 9600  !   ON    !f.bios ! INT4  !f.bios!
  66. L2PCX -P1 -C2              !   ON    ! 9600  !   ON    ! COM2  ! INT3  !f.bios!
  67. L2PCX -P1 -C2 -I7          !   ON    ! 9600  !   ON    ! COM2  ! INT7  !f.bios!
  68. L2PCX -P1 -C2 -I4 -A1016   !   ON    ! 9600  !   ON    ! COM2  ! INT4  ! 3F8H !
  69. L2PCX -P1 -C1 -I3 -B1200   !   ON    ! 1200  !   OFF   ! COM1  ! INT3  !f.bios!
  70. L2PCX -B500 -P1 -C4 -I11   !   ON    ! 9600  !   ON    ! COM4  ! INT11 !f.bios!
  71. L2PCX -xx                  !   OFF   ! 9600  !   ON    !f.bios ! INT4  !f.bios!
  72.  
  73. used CPU-time on a 80286 with connected modem und TRX (Landmark speed test):
  74. 9600bit/s     -2.9MHz rx, noise, digital-squelch closed, TEST OFF
  75. 9600bit/s ca. -6MHz tx, or rx with digital-Squelch open, scrambling on.
  76. 1200bit/s     -0.8Mhz
  77. A 6MHz AT should be enough, but (especially with slow terminal software), 
  78. at least a 10MHz AT should be used.
  79.  
  80. If TEST is on, besides normal operation it is also tested, if the used
  81. computer is abel to handle the occuring interrupts fast enough. At 
  82. 9600 bit/s there are 4800 Interrupts/s. So interrupts mustn't be locked
  83. (mostly done by BIOS or DOS) for longer than 1/4800 secound.
  84.  
  85. The result of the test (the number of the lost interrupts) will be displayed
  86. when unloading (L2PCX -U). Every lost interrupt, which occurs while recieving
  87. or transmitting a frame will cause this frame to get lost. If frequent
  88. losses occur, e.g. during disk accesses, the computer is unlikly to be
  89. usable for packet operation with L2PCX.
  90.  
  91. Is the counter output a low number (e.g. < 50 while playing around in DOS
  92. for some minutes), it should be ok. Problems, which are not being 
  93. recognized by the test, are caused by the 82C450 rs232-ic, which produces
  94. 9525 baud instead of 9600. 
  95. An alternativ test for suitability for l2pcx is connecting an ear phone to
  96. the TXD line of the RS232. Distortions of the sound equally indicate frame
  97. losses during that time (don't test while the computer is idle as
  98. there losses are quite unlikely, but rather do something like typing
  99. "DIR" in DOS, or starting your terminal program).
  100.  The sound CANNOT be output at the computer's internal speaker. 
  101.  
  102. Testing with an terminal program, you can query the loss-counter with "esc V".
  103. To avoid that L2PCX being used on unsuitable computers, and thus user acceses
  104. being QRM'ed with too much frame losses, a "fm ERROR to nnnn" is being
  105. displayed on the Monitor channel, to remaind you about this
  106. situation. Each of this pseudo-frames means, that at this moment a
  107. frame wouldn't have been recieved, or would be sent corrupt.
  108.  
  109. Known "interrupt-killers":          What to to:
  110. --------------------------------------------
  111. EMM-driver (RAM above 1MB)          Don't use it.          
  112. CGA-screen with snowcheck ON        Avoid the usade of snowcheck
  113. AMI-BIOS-harddisc-control           try other BIOS, e.g. Award BIOS
  114. AMI-BIOS-hercules driver            let terminal use direct acces to VIDEORAM
  115. some resident (TSR) programs        don't load them
  116. keyboard drivers                    some other are better
  117. some DOS-versions                   the older, the better....
  118.  
  119. additional information for the now available multiport-version:
  120. ---------------------------------------------------------------
  121. compiled for 4 port it can be used for 4 AX.25-ports on 4 rs232-interfaces
  122. simultanious. the PC must be able to handle the ports fast enough. 
  123. 1200 bit/s-ports nearly won't be noticed, for e.g. 2x 9600 bit/s and
  124. 2x 1200 bit/s, it should at least be a 16MHz 80286. Memory (about 5.5k) for
  125. each port is only allocaed if the port is activaed. The used COM's must
  126. have seperate and not otherwise used interrupts.
  127.  
  128. starting-paramaters, an example: (see table above)
  129. L2PCX -p1 -c1 -b9601 -p2 -c3 -b9600 -p3 -c2 -i5 -b2400 -p4 -i11 -a760 -b1202
  130.       ============== ============== ================== =====================
  131. port 1 must always be used, it is used for the L2-Timing.
  132. Default-values: p1 = com1 from bios, int 4 9600bit/s scrambler ±12V
  133.                 p2 = com2 from bios, int 3 1200bit/s     2 x   ±12V
  134.                 p3 = com3 from bios, int10 1200bit/s     2 x   ±12V
  135.                 p4 = com4 from bios, int11 1200bit/s     2 x   ±12V
  136. bitrate, scrambling,, 12V can also be changed from the terminal software.
  137. shall ports be deactivated while L2PCX is running (to avoid wasting CPU time
  138. for them), simply set them to 300 bit/s.
  139.  
  140. activationg of the ports via WA8DED-hostmode:
  141.  
  142.   connecting with C call portnumber (via...) e.g.  C OE5XDR 3 DB0HOB
  143.     without portnumber, port 1 will be used.
  144.  
  145.   transmitting UI-frames, and setting parameters:
  146.     First select Port with "P<port<", all following parameters are assumed
  147.     to belong to that port. e.g.: <esc>P3 <esc>T25  (set TXDelay of Port 3)
  148.  
  149.     special parameters, which can't be reached in WA8DED-interface, can be
  150.     set with "P<nummer> <value>". Take care! These values are used without
  151.     checking them.
  152.  
  153.     P105 Rx buffers per link maximum (RNR)
  154.     P106 Tx buffers per link Maximum
  155.          (as WA8DED-hostmode has no data-flow-control, the host will block
  156.          when trying to send more data => Terminal will block)
  157.     P108 full duplex (only with HDLC-FIFO-interface)
  158.     P111 Passall 1/0 (crc-check off)  only for monitoring
  159.     P112 Echo 1/0 (only with HDLC-FIFO-interface)
  160.     P114 transmit-port for this L2-Port
  161.     P115 (additional) recieve-Port for Multi-Rx, Baud-, Modem-Diversity
  162.          0 = port adisable in L2
  163.     P116 Digital squelch level
  164.     P117 TXWait in 10ms, delay after TX, before transmitting again.
  165.     P118 TXTail in 10ms
  166.     P121 BaudSwitchDelay in byte for mixed Baud operation (only with FIFO)
  167.     P122 Flag, Bitpatter while TXDELAY, usually: 126 (7E)
  168.          without scrambling better: 0, last flag before data always is 7E.
  169.  
  170. For 1-port-version, use these numbers minus 100 (e.g. P22 instead of P122)
  171.  
  172.  
  173.  
  174. --
  175. Any comments about this to DL9RDZ@DB0WGS.#BAY.DE.EU (ax25-net) or
  176. hsreiser@cip.informatik.uni-erlangen.de (internet)
  177.  
  178.  
  179. vy 73 & 55,
  180.  
  181. Hansi, dl9rdz